import Network from '@/utils/request'

// 登录
export const login = (data) => Network.post('/sys/login', data)
// 获取用户的基本资料
export const getUserInfo = () => Network.post(`/sys/profile`)
// 获取员工基本信息
export const getUsers = (id) => Network.get(`/sys/user/${id}`)
